/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.payroll.Impl;

import ac.za.cput.payroll.Payroll;

/**
 *
 * @author Enkosi
 */
public class PayrollImpl implements Payroll{
    @Override
    public double calcTax(int salary, double tax) {
        return (salary * tax);
    }

    @Override
    public double calcMonthlySal(int hours, int hourlyRate) {
         return (hours * hourlyRate);
    }
    
}
